package lyj.springcloud.task;

import lombok.SneakyThrows;

/**
 * 任务
 */
public class ThreadTask extends Thread{


    public ThreadTask(int seq) {
        this.seq = seq;
    }

    public ThreadTask() {
    }

    private int seq;

    @SneakyThrows
    @Override
    public void run() {
        // 模拟线程运行时间
        Thread.sleep(2000);
        // 线程具体操作内容
        System.out.println("current thread name [" + Thread.currentThread().getName() + "] 》》》》》》》》》》》》》》》》》支付线程任务处理中《《《《《《《《《《《《《《《《《");
    }
}
